#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "icalendar.h"
#include <QStandardItemModel>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

     void DataItemInfo(icslib::Event *pEvent);
    QStandardItemModel *m_pCalenderModel;
    int m_nIndex;
private slots:
    void on_btnSelected_clicked();

private:
    void initTableView();
    void analysisICSData(const QString &fileName);
private:
    Ui::MainWindow *ui;

};

#endif // MAINWINDOW_H
